package com.cloudkinto.vo.workOrder;

import com.baomidou.mybatisplus.annotation.TableField;
import com.cloudkinto.entity.OperateRecordDo;
import com.cloudkinto.entity.WorkOrderCostDo;
import com.cloudkinto.vo.file.WorkOrderFileVo;
import com.cloudkinto.vo.operate.OperateRes;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

/**
 * @author long
 * @Description 工单详情
 * @Date 2025/1/7 14:34
 */
@Data
public class WorkOrderDetail {
    private Long id;

    @ApiModelProperty("仓库")
    private String whNameCode;

    private Long whId;

    @ApiModelProperty("客户")
    private String companyNameCode;

    @ApiModelProperty("工单号")
    private String workNo;

    @ApiModelProperty("标题")
    private String title;

    @ApiModelProperty("工单类型")
    private String type;

    @ApiModelProperty("紧急程度")
    private String urgencyStr;

    private Integer urgency;

    private String sku;

    @ApiModelProperty("备注")
    private String remark;

    @ApiModelProperty("状态")
    private String status;

    /**
     * 结算 false未结算 true已结算
     */
    @ApiModelProperty("结算 false未结算 true已结算")
    private Boolean settleFlag;

    @ApiModelProperty("附件")
    private List<WorkOrderFileVo> fileList = new ArrayList<>();

    private int fileQuantity;

    @ApiModelProperty("回复记录")
    private List<WorkOrderReplyVo> replyList = new ArrayList<>();

    @ApiModelProperty("费用")
    private List<WorkOrderCostDo> costList;

    @ApiModelProperty("日志")
    private List<OperateRes> operateList;
}
